package com.zjt.dao.product;

import com.zjt.entity.product.SecurityCode;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * 物码中心数据采集的DAO interface;
 * 
 * @author xueyanbeijing
 */
public interface ISecurityCodeDao extends JpaRepository<SecurityCode,Long> {
    SecurityCode findByUserIdAndProductId(long userId,long productId);

    SecurityCode findByUserIdAndBarCode(long userId,String barCode);
}
